/*
  进入和离开动画可以使用不同
  持续时间和速度曲线。
  */
.slide-fade-enter-active {
  opacity: 0;
  transition: all 0.3s;
}
.slide-fade-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.slide-fade-enter-to {
  opacity: 1;
}
.slide-fade-leave-to {
  transform: translateY(10px);
  opacity: 0;
}
.search1 {
  position: relative;
  margin-top: 20px;
  display: flex;
  width: 263px;
  height: 10px;
  margin-bottom: 5px;
}
.search1 .search-ipt {
  width: 263px;
  height: 100%;
  border: none;
  padding-left: 50px;
  outline: none;
  font-size: 20px;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.search1 input::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #666;
  font-size: 19px;
}
.search1 :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #666;
  font-size: 19px;
}
.search1 ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #666;
  font-size: 19px;
}
.search1 input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #666;
  font-size: 19px;
}
.search1 input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #666;
  font-size: 19px;
}
.search1 .search-btn {
  flex: 1;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.search1 .search-btn .icon-sousuo {
  margin-right: 10px;
  vertical-align: middle;
  font-weight: 263;
  font-size: 20px;
}
.search1 .search-btn span {
  font-size: 22px;
}
.search1 .hot {
  position: absolute;
  top: 0px;
  left: 0;
  z-index: 10;
  width: 263px;
  min-height: 100px;
  background-color: #fff;
  padding: 15px 30px;
}
.search1 .hot ul li {
  margin-bottom: 5px;
  line-height: 30px;
  font-size: 14px;
  cursor: pointer;
}
.search1 .hot ul li:first-child {
  color:#fd4f01;
}
.search1 .hot ul li:first-child i {
  background-color: #fd4f01;
}
.search1 .hot ul li:nth-child(2) i {
  background-color: #ebab4b;
}
.search1 .hot ul li:nth-child(3) i {
  background-color: #ffc600;
}
.search1 .hot ul li:hover {
  color: #ebab4b;
}
.search1 .hot ul li em {
  display: inline-block;
  width: 35px;
  height: 16px;
  background-color: var(--primary);
  border-bottom-left-radius: 0;
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  transform: translateX(-5px) scale(0.8);
}
.search1 .hot i {
  display: inline-block;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  margin-right: 5px;
  background-color: #dbd2d2;
  font-size: 14px;
  color: #fff;
}

.search {
  position: relative;
  margin-top: 20px;
  display: flex;
  width: 828px;
  height: 50px;
  margin-bottom: 15px;
}
.search .search-ipt {
  width: 700px;
  height: 100%;
  border: none;
  padding-left: 50px;
  outline: none;
  font-size: 20px;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.search input::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #666;
  font-size: 19px;
}
.search :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #666;
  font-size: 19px;
}
.search ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #666;
  font-size: 19px;
}
.search input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #666;
  font-size: 19px;
}
.search input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #666;
  font-size: 19px;
}
.search .search-btn {
  flex: 1;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.search .search-btn .icon-sousuo {
  margin-right: 10px;
  vertical-align: middle;
  font-weight: 700;
  font-size: 20px;
}
.search .search-btn span {
  font-size: 22px;
}
.search .hot {
  position: absolute;
  top: 55px;
  left: 0;
  z-index: 10;
  width: 828px;
  min-height: 100px;
  background-color: #fff;
  padding: 15px 30px;
}
.search .hot ul li {
  margin-bottom: 5px;
  line-height: 30px;
  font-size: 14px;
  cursor: pointer;
}
.search .hot ul li:first-child {
  color:#fd4f01;
}
.search .hot ul li:first-child i {
  background-color:#fd4f01;
}
.search .hot ul li:nth-child(2) i {
  background-color: #ebab4b;
}
.search .hot ul li:nth-child(3) i {
  background-color: #ffc600;
}
.search .hot ul li:hover {
  color: #ebab4b;
}
.search .hot ul li em {
  display: inline-block;
  width: 35px;
  height: 16px;
  background-color: var(--primary);
  border-bottom-left-radius: 0;
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  transform: translateX(-5px) scale(0.8);
}
.search .hot i {
  display: inline-block;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  margin-right: 5px;
  background-color: #dbd2d2;
  font-size: 14px;
  color: #fff;
}
#small {
  position: relative;
  top: -3px;
  display: flex;
  width: 400px;
  height: 35px;
  margin-bottom: 15px;
}
#small .search-ipt {
  width: 320px;
  height: 100%;
  border: none;
  padding-left: 50px;
  outline: none;
  font-size: 12px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #f2f2f2;
}
#small input::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #666;
  font-size: 14px;
}
#small :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #666;
  font-size: 14px;
}
#small ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #666;
  font-size: 14px;
}
#small input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #666;
  font-size: 14px;
}
#small input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #666;
  font-size: 14px;
}
#small .search-btn {
  flex: 1;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
}
#small .search-btn .icon-sousuo {
  margin-right: 10px;
  vertical-align: middle;
  font-weight: 700;
  font-size: 14px;
}
#small .search-btn span {
  font-size: 12px;
}
#small .hot {
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 10;
  width: 400px;
  min-height: 100px;
  background-color: #fff;
  border-radius: 5px;
  padding: 15px 30px;
}
#small .hot ul li {
  margin-bottom: 5px;
  line-height: 30px;
  font-size: 14px;
  cursor: pointer;
}
#small .hot ul li:first-child {
  color: #fd4f01;
}
#small .hot ul li:first-child i {
  background-color: #fd4f01;
}
#small .hot ul li:nth-child(2) i {
  background-color: #ebab4b;
}
#small .hot ul li:nth-child(3) i {
  background-color: #4aa5f1;
}
#small .hot ul li:hover {
  color: #ebab4b;
}
#small .hot ul li em {
  display: inline-block;
  width: 35px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 16px;
  border-bottom-left-radius: 0;
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  transform: translateX(-5px) scale(0.8);
}
#small .hot i {
  display: inline-block;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  margin-right: 5px;
  background-color: #dbd2d2;
  font-size: 14px;
  color: #fff;
  border-radius: 2px;
}

